package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 知识库信息对象 ds_zsk
 *
 * @author tyro
 * @date 2025-03-30
 */
public class DsZsk extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 知识库id */
    private Long zskId;

    /** 知识库名称 */
    @Excel(name = "知识库名称")
    private String zskName;

    /** 教师id */
    @Excel(name = "教师id")
    private Long teacherId;

    /** 学院ID */
    private Integer collegeId;

    /** 父id */
    private Long pId;

    /** 班级id */
    private Long classId;

    /** 文件标识 */
    private String fileFlag;

    // getter和setter方法
    public Integer getCollegeId() {
        return collegeId;
    }

    public void setCollegeId(Integer collegeId) {
        this.collegeId = collegeId;
    }

    public void setZskId(Long zskId)
    {
        this.zskId = zskId;
    }

    public Long getZskId()
    {
        return zskId;
    }
    public void setZskName(String zskName)
    {
        this.zskName = zskName;
    }

    public String getZskName()
    {
        return zskName;
    }
    public void setTeacherId(Long teacherId)
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId()
    {
        return teacherId;
    }

    public void setPId(Long pId)
    {
        this.pId = pId;
    }

    public Long getPId()
    {
        return pId;
    }

    public void setClassId(Long classId)
    {
        this.classId = classId;
    }

    public Long getClassId()
    {
        return classId;
    }

    public String getFileFlag() {
        return fileFlag;
    }

    public void setFileFlag(String fileFlag) {
        this.fileFlag = fileFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("zskId", getZskId())
            .append("collegeId", getCollegeId())
            .append("zskName", getZskName())
            .append("pId", getPId())
            .append("classId", getClassId())
            .append("fileFlag", getFileFlag())
            .append("teacherId", getTeacherId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
